package com.eaoa.uc.bustransfer.bo;

import com.eaoa.base.EABaseBusinessObject;
import com.eaoa.dao.bus.BusTransferDAO;
import com.eaoa.vo.bus.BusTransfer;

public class BusTransferDeleteBO extends EABaseBusinessObject{
	
	private static BusTransferDAO transferDAO = new BusTransferDAO();
	private Long transferno;
	
	public BusTransferDeleteBO(Long transferno) {
		super();
		this.transferno = transferno;
	}
	protected void performBusinessLogic() {
		BusTransfer po =  (BusTransfer)transferDAO.loadAndLock(transferno);
		po.setIslock("Y");
		transferDAO.update(po);
	}
}
